package com.design.behavioral.visitor;

/**
 * Element 父类
 */
public class Animal {
    public void execute(){
        System.out.println("Animal");
    }

    public void execute(Execute execute){
        execute.execute(this);
    }
}
